package com.indusfo.spc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;

public class InspectWork extends BasePojo {
    // 点检作业ID
    private Integer inspectWorkId;
    // 点检作业单号
    private String inspectWorkNo;
    // 设备ID
    private Integer deviceId;
    // 班次ID
    private Integer classeId;
    // 审核状态
    private Integer auditState;
    // 制单人ID
    private Integer userId;
    // 点检时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String inspectDate;
    // 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    // 修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    // 备注
    private String remark;
    // 数据状态
    private Integer dataState;



    // 点检项目ID数组
    private Integer[] inspectIds;
    // 设备编号
    private String deviceCode;
    // 设备名称
    private String deviceName;
    // 班次名称
    private String classeName;
    // 审核状态名称
    private String auditStateName;
    // 制单人名称
    private String userName;

    public String getInspectDate() {
        return inspectDate;
    }

    public void setInspectDate(String inspectDate) {
        this.inspectDate = inspectDate;
    }

    public Integer getInspectWorkId() {
        return inspectWorkId;
    }

    public void setInspectWorkId(Integer inspectWorkId) {
        this.inspectWorkId = inspectWorkId;
    }

    public String getInspectWorkNo() {
        return inspectWorkNo;
    }

    public void setInspectWorkNo(String inspectWorkNo) {
        this.inspectWorkNo = inspectWorkNo == null ? null : inspectWorkNo.trim().replace(" ","");
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getClasseId() {
        return classeId;
    }

    public void setClasseId(Integer classeId) {
        this.classeId = classeId;
    }

    public Integer getAuditState() {
        return auditState;
    }

    public void setAuditState(Integer auditState) {
        this.auditState = auditState;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public Integer[] getInspectIds() {
        return inspectIds;
    }

    public void setInspectIds(Integer[] inspectIds) {
        this.inspectIds = inspectIds;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getClasseName() {
        return classeName;
    }

    public void setClasseName(String classeName) {
        this.classeName = classeName;
    }

    public String getAuditStateName() {
        return auditStateName;
    }

    public void setAuditStateName(String auditStateName) {
        this.auditStateName = auditStateName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}